package com.project.dao.impl;


import java.util.UUID;

import com.project.dao.TeacherDao;
import com.project.dao.bean.Teacher;

/**
 * 发布老师信息 Dao Impl
 * @author Sn
 *
 */
public class TeacherDaoImpl extends BaseDaoImpl implements TeacherDao 
{

	@Override
	public void save(Teacher teacher) throws Exception 
	{
		UUID uuid = UUID.randomUUID();
		teacher.setTeacher_id(uuid.toString());
		this.getSqlMapClient().insert("saveTeacher", teacher);
	}

}
